#include <QtGui/QApplication>
#include <QStandardItemModel>
#include <QTableView>
#include <QDebug>
#include "mainwindow.h"
#include "FileParser.h"
#include "tablehandler.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
	//Define filename and construct fileparser object
    char fileName[255]= "csvfile.csv";
    FileParser* fileParser = new FileParser(fileName);
    TableHandler* tableHandler = new TableHandler(*fileParser,"Bazinga");
    QTableView *view = tableHandler->getViewPointer();

    view->show();
    return a.exec();
}
